.class Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$2;
.super Ljava/lang/Object;
.source "UpUsersActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 129
    iput-object p1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .registers 9
    .param p2, "view"    # Landroid/view/View;
    .param p3, "position"    # I
    .param p4, "id"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 133
    .local p1, "parent":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFromMessage:Z
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->access$000(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Z

    move-result v1

    if-eqz v1, :cond_3e

    .line 134
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    # invokes: Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getContext()Landroid/content/Context;
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->access$100(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "UpUsersPageFromMessagesClickEnterPersonalPage"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 139
    :goto_13
    check-cast p1, Landroid/widget/ListView;

    .end local p1    # "parent":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    invoke-virtual {p1}, Landroid/widget/ListView;->getHeaderViewsCount()I

    move-result v1

    sub-int/2addr p3, v1

    .line 140
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    # invokes: Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getContext()Landroid/content/Context;
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->access$300(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 141
    .local v0, "intent":Landroid/content/Intent;
    const-string v2, "UserModel"

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mUsers:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->access$400(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/io/Serializable;

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 142
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->startActivity(Landroid/content/Intent;)V

    .line 143
    return-void

    .line 136
    .end local v0    # "intent":Landroid/content/Intent;
    .restart local p1    # "parent":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    :cond_3e
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$2;->this$0:Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    # invokes: Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getContext()Landroid/content/Context;
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->access$200(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "UpUsersPageFromMoreUsersClickEnterPersonalPage"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_13
.end method
